<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <%@ include file="/common/pre/header.jsp" %>
    <script src="${ctx}/statics/js/backend/backend.js"></script>
	<script type="text/javascript" src="js/jquery-1.8.3.js" ></script>
	
	<script type="text/javascript" >
	
	
	
		
		$(function (){
			function addur(){
				$.ajax({
					url: "",
					type: 'GET',
					crossDomain: true,
					dataType: options.dataType,
					jsonpCallback: 'jsonp_location',
					//success: function(data) {
						
					})
			}		
			$("#ur").click(addur);
			
			}
		
		)	
		
	</script>
</head>
<body>
	<c:if test="${user == null}">
		<c:redirect url="login.jsp"></c:redirect>
	</c:if>
		
<!--End Header End-->
<div class="i_bg bg_color">
    <!--Begin 用户中心 Begin -->
    <div class="m_content">
   
        <div class="m_right" id="content">
            <div class="mem_tit">
                        添加用户
            </div>
            <br>
            <form action="/1and5Demo/user/addUaers" method="post" id="userAdd" onsubmit="return checkUser();">
                <table border="0" class="add_tab" style="width:930px;" cellspacing="0" cellpadding="0">
                      <tr>
                        <td width="135" align="right">用户姓名</td>
                        <td colspan="3" style="font-family:'宋体';">
                            <input type="text" value="" class="add_ipt" name="userName" placeholder="请输入用户名" required/>
                        </td>
                    </tr>
                   
                        <tr>
                            <td width="135" align="right" >密码</td>
                            <td>
                                <input type="password" value="" class="add_ipt" name="userPwd" placeholder="请输入密码" required/>
                            </td>
                        </tr>
                        <tr>
                            <td width="135" align="right">确认密码</td>
                            <td>
                                <input type="password" value="" class="add_ipt" name="repPassword" placeholder="请确认密码" required/>
                            </td>
                        </tr>
                    
                    
                    <tr>
                        <td width="135" align="right">手机</td>
                        <td>
                            <input type="text" value="" class="add_ipt" name="phone" id="phone" placeholder="请输入手机信息" required/>
                        </td>
                    </tr>
                    <tr>
                        <td width="135" align="right">用户类型</td>
                        <td>
                            <select name="roleId" id="ur" >
                                <option value="1" selected="selected">组长</option>
                                <option value="2" selected="selected">老师</option>
                                <option value="3" selected="selected">修理人员</option>
                                <option value="4" selected="selected">管理人员</option>
                            </select>
                        </td>
                    </tr>
                    <tr>
                        <td></td>
                        <td>
                                    <input type="submit" value="保存信息" class="s_btn" >
                        </td>
                    </tr>
                </table>
            </form>
        </div>
    </div>
 
</div>
</body>
</html>


